projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d56346
)
entry: Set text direction information on text handles
author
Carlos Garnacho
<carlosg@gnome.org>
Thu, 11 Jun 2015 14:18:02 +0000
(16:18 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Thu, 11 Jun 2015 15:14:23 +0000
(17:14 +0200)
This way the handles point to the right side on the presence of rtl/ltr
text.
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index c1b3ab71941c4fc9432c3815a53198734ae4bc26..61c3ba48234868f31f0972eb2d0e2e80e0ce0527 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-4174,6
+4174,7
@@
gtk_entry_move_handle (GtkEntry *entry,
_gtk_text_handle_set_visible (priv->text_handle, pos, TRUE);
_gtk_text_handle_set_position (priv->text_handle, pos, &rect);
+ _gtk_text_handle_set_direction (priv->text_handle, pos, priv->resolved_dir);
}
}